Field Validation
Input validation is the process of examining inputs and removing those that are considered improper. When users engage with websites or apps, they frequently provide input, such as filling out forms, entering email id, or providing payment information.
Admin Portal (Platform admin):
Module Name | Field Name | Field type | Minimum Value | Maximum Value | Format Allowed |
---|---|---|---|---|---|
Login | Username/Email | Text | 3 | 320 | Alphanumeric, Special Characters |
Password | Password | 12 | 64 | Alphanumeric, Special Characters | |
Forgot Password | Username/Email | Text | 3 | 320 | Alphanumeric, Special Characters |
Change Password | Password | Password | 12 | 64 | Password must contain minimum of 12 characters and include at least one uppercase letter, one lowercase letter, one number, and one special character. |
Stores - Create Store Validation | Store Name | Text | 3 | 15 | Alphanumeric |
Text | 5 | 320 | Alphanumeric, Special Characters | ||
Username | Text | 3 | 24 | Alphanumeric | |
Stores - Store Settings - Media Validation | Store Logo | Image | 1KB | 20MB | png, jpg, jpeg |
Banner Images | Image | 1KB | 20MB | png, jpg, jpeg | |
Stores - Store Settings - Store Restrictions Validation | Maximum Active Vendor Limit | Numbers(0 refers to Unlimited) | 0 | 2147483647 | Numbers |
Maximum Customer Onboarding Limit | Numbers | 0 | 2147483647 | Numbers | |
Maximum Product Activation Limit | Numbers | 0 | 2147483647 | Numbers | |
Maximum Order Limit Per Day | Numbers | 0 | 2147483647 | Numbers | |
Maximum Language Activation Limit | Numbers | 0 | 2147483647 | Numbers | |
Maximum Product Template Activation Limit | Numbers | 0 | 2147483647 | Numbers | |
Default Maximum Vendor Product Limit | Numbers | 0 | 2147483647 | Numbers | |
Default Maximum Vendor Product Template Limit | Numbers | 0 | 2147483647 | Numbers | |
Default Store Commission Percentage | Numbers | 0 | 100 | Numbers | |
Stores - Store Settings - Page Theme Validation | Background Color | Text | 7 | 7 | Alphanumeric, Special Character only "#", Supported alphabets are abcdef and ABCDEF. |
Text Color | Text | 7 | 7 | Alphanumeric, Special Character only "#", Supported alphabets are abcdef and ABCDEF. | |
Primary Button Background Color | Text | 7 | 7 | Alphanumeric, Special Character only "#", Supported alphabets are abcdef and ABCDEF. | |
Secondary Button Background Color | Text | 7 | 7 | Alphanumeric, Special Character only "#", Supported alphabets are abcdef and ABCDEF. | |
Tertiary Button Background Color | Text | 7 | 7 | Alphanumeric, Special Character only "#", Supported alphabets are abcdef and ABCDEF. | |
Primary Button Text Color | Text | 7 | 7 | Alphanumeric, Special Character only "#", Supported alphabets are abcdef and ABCDEF. | |
Secondary Button Text Color | Text | 7 | 7 | Alphanumeric, Special Character only "#", Supported alphabets are abcdef and ABCDEF. | |
Tertiary Button Text Color | Text | 7 | 7 | Alphanumeric, Special Character only "#", Supported alphabets are abcdef and ABCDEF. | |
Stores - Store Settings - Store Header Settings Validation | Background Color | Text | 7 | 7 | Alphanumeric, Special Character only "#", Supported alphabets are abcdef and ABCDEF. |
Text Color | Text | 7 | 7 | Alphanumeric, Special Character only "#", Supported alphabets are abcdef and ABCDEF. | |
Stores - Store Settings - Store Footer Settings Validation | Background Color | Text | 7 | 7 | Alphanumeric, Special Character only "#", Supported alphabets are abcdef and ABCDEF. |
Text Color | Text | 7 | 7 | Alphanumeric, Special Character only "#", Supported alphabets are abcdef and ABCDEF. | |
Stores - Store Settings - Policies | Policy Name | Text | 1 | 100 | Alphanumeric, Special Character. |
Lead In Line | Text | 1 | 100 | Alphanumeric, Special Character. | |
Policy Description | Text | 0 | Unlimited | Alphanumeric, Special Character. | |
Language Settings - Language Details Validation | Language Name | Text | 3 | 255 | Alphabets |
Language Code | Text | 2 | 6 | Alphabets | |
Language Settings - Support Document Validation | Frontend Keys Upload File | UTF-8 CSV | 1KB | 100MB | Only UTF-8 CSV |
Backend Keys Upload File | UTF-8 CSV | 1KB | 100MB | Only UTF-8 CSV | |
My Profile - Change Password Validation | Password | Password | 12 | 64 | Password must contain minimum of 12 characters and include at least one uppercase letter, one lowercase letter, one number, and one special character. |
User Access Control - Create User Access Control Validation | User Name | Text | 3 | 24 | Alphanumeric |
First Name | Text | 1 | 50 | Alphabets | |
Last Name | Text | 1 | 50 | Alphabets | |
Text | 5 | 320 | Alphanumeric, Special Characters |
Admin Portal (Product owner specific):
Module Name | Field Name | Field Type | Minimum Value | Maximum Value | Format Allowed |
---|---|---|---|---|---|
Login | Username/Email | Text | 3 | 320 | Alphanumeric, Special Characters |
Password | Password | 12 | 64 | Alphanumeric, Special Characters | |
Forgot Password | Username/Email | Text | 3 | 320 | Alphanumeric, Special Characters |
Change Password | Password | Password | 12 | 64 | Password must contain minimum of 12 characters and include at least one uppercase letter, one lowercase letter, one number, and one special character. |
Stores - Threshold Configuration - Account Restrictions Validation | Maximum Store Activation Limit | Numbers | 0 | 2147483647 | Numbers |
Maximum Active Vendor Limit | Numbers | 0 | 2147483647 | Numbers | |
Maximum Customer Onboarding Limit | Numbers | 0 | 2147483647 | Numbers | |
Maximum Product Activation Limit | Numbers | 0 | 2147483647 | Numbers | |
Maximum Order Limit Per Day | Numbers | 0 | 2147483647 | Numbers | |
Maximum Language Activation Limit | Numbers | 0 | 2147483647 | Numbers | |
Maximum Product Template Activation Limit | Numbers | 0 | 2147483647 | Numbers | |
My Profile - Change Password Validation | Password | Password | 12 | 64 | "At least 12 characters One or more upper case letters One or more special characters or symbols One or more lower case letters One or more numbers" |
note
There should not be any validations for current password field, except correct/valid data entry.